<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <!-- Page title -->
    <title>中风医馆 | 店铺管理</title>

    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <!--<link rel="shortcut icon" type="image/ico" href="favicon.ico" />-->

    <!-- Vendor styles -->
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//vendor/fontawesome/css/font-awesome.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//vendor/metisMenu/dist/metisMenu.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//vendor/animate.css/animate.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//vendor/bootstrap/dist/css/bootstrap.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//vendor/sweetalert/lib/sweet-alert.css" />

    <!-- App styles -->
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//fonts/pe-icon-7-stroke/css/helper.css" />
    <link rel="stylesheet" href="/10.30/ThinkPHP/Application/Community/Public//styles/style.css">

</head>
<body>

<!-- Simple splash screen-->
<div class="splash"> <div class="color-line"></div><div class="splash-title"><h1>Homer - Responsive Admin Theme</h1><p>Special AngularJS Admin Theme for small and medium webapp with very clean and aesthetic style and feel. </p><img src="images/loading-bars.svg" width="64" height="64" /> </div> </div>
<!--[if lt IE 7]>
<p class="alert alert-danger">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<!-- Header -->
<div id="header">
    <div class="color-line">
    </div>
    <div id="logo" class="light-version">
        <span>
            中风医馆-您的家庭医生
        </span>
    </div>
    <nav role="navigation">
        <div class="header-link hide-menu"><i class="fa fa-bars"></i></div>
        <div class="small-logo">
            <span class="text-primary">中风医馆</span>
        </div>
        <form role="search" class="navbar-form-custom" method="post" action="#">
            <div class="form-group">
                <input type="text" placeholder="搜索" class="form-control" name="search">
            </div>
        </form>
        <div class="navbar-right">
            <ul class="nav navbar-nav no-borders">
                <li class="dropdown">
                    <a class="dropdown-toggle" href="#" data-toggle="dropdown">
                        <i class="pe-7s-speaker"></i>
                    </a>
                    <ul class="dropdown-menu hdropdown notification animated flipInX">
                        <li>
                            <a>
                                <span class="label label-success">NEW</span> It is a long established.
                            </a>
                        </li>
                        <li>
                            <a>
                                <span class="label label-warning">WAR</span> There are many variations.
                            </a>
                        </li>
                        <li>
                            <a>
                                <span class="label label-danger">ERR</span> Contrary to popular belief.
                            </a>
                        </li>
                        <li class="summary"><a href="#">See all notifications</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a class="dropdown-toggle label-menu-corner" href="#" data-toggle="dropdown">
                        <i class="pe-7s-mail"></i>
                        <span class="label label-success">4</span>
                    </a>
                    <ul class="dropdown-menu hdropdown animated flipInX">
                        <div class="title">
                            You have 4 new messages
                        </div>
                        <li>
                            <a>
                                It is a long established.
                            </a>
                        </li>
                        <li>
                            <a>
                                There are many variations.
                            </a>
                        </li>
                        <li>
                            <a>
                                Lorem Ipsum is simply dummy.
                            </a>
                        </li>
                        <li>
                            <a>
                                Contrary to popular belief.
                            </a>
                        </li>
                        <li class="summary"><a href="#">See All Messages</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="login.html">
                        <i class="pe-7s-upload pe-rotate-90"></i>
                    </a>
                </li>
            </ul>
        </div>
    </nav>
</div>

<!-- Navigation -->
<aside id="menu">
    <div id="navigation">
        <div class="profile-picture">
            <a href="index.html">
                <img src="/10.30/ThinkPHP/Application/Community/Public//images/profile.jpg" class="img-circle m-b" alt="logo">
            </a>

            <div class="stats-label text-color">
                <span class="font-extra-bold font-uppercase">明航</span>

                <div class="dropdown">
                    <a class="dropdown-toggle" href="#" data-toggle="dropdown">
                        <small class="text-muted">Founder of App <b class="caret"></b></small>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a href="contacts.html">Contacts</a></li>
                        <li><a href="profile.html">Profile</a></li>
                        <li><a href="analytics.html">Analytics</a></li>
                        <li class="divider"></li>
                        <li><a href="login.html">Logout</a></li>
                    </ul>
                </div>


                <div id="sparkline1" class="small-chart m-t-sm"></div>
                <div>
                    <h4 class="font-extra-bold m-b-xs">
                        $260 104,200
                    </h4>
                    <small class="text-muted">Your income from the last year in sales product X.</small>
                </div>
            </div>
        </div>

        <ul class="nav" id="side-menu">
            <li>
                <a href="index.html"> <span class="nav-label">首页</span> <span class="label label-success pull-right">v.1</span> </a>
            </li>
            <li class="active">
                <a href="Certification.html"> <span class="nav-label">店铺认证</span><span class="label label-warning pull-right">NEW</span> </a>
            </li>     
            <li>
                <a href="order.html"> <span class="nav-label">订单管理</span></a>
            </li>
            <li>
                <a href="ShopManager.html"> <span class="nav-label">套餐管理</span></a>
            </li>
        </ul>
    </div>
</aside>

<!-- Main Wrapper -->
<div id="wrapper">

    <div class="normalheader transition animated fadeIn">
    <div class="hpanel">
        <div class="panel-body">
            <a class="small-header-action" href="">
                <div class="clip-header">
                    <i class="fa fa-arrow-up"></i>
                </div>
            </a>

            <div id="hbreadcrumb" class="pull-right m-t-lg">
                <ol class="hbreadcrumb breadcrumb">
                    <li><a href="index.html">中风医馆</a></li>
                    <li class="active">
                        <span>店铺认证</span>
                    </li>
                </ol>
            </div>
            <h2 class="font-light m-b-xs">
               	 店铺认证
            </h2>
            <small>认证通过后即可开启服务</small>
        </div>
    </div>
</div>

	<div class="content animate-panel" data-delay="0.01">
	<div id="choose" class="row">
	    <div class="col-lg-12 text-center m-t-md">
	        <h2>请选择注册类型</h2>
	        <div class="row" style="width: 60%;display: inline-block;margin-top: 50px;">
		        <div class="person col-lg-4">
		        	<div class="img"></div>
		        	<p>护工</p>
		        	<p>需提供身份证照片</p>
		        </div>
		        <div class="group col-lg-4">
		        	<div class="img"></div>
		        	<p>康复小组</p>
		        	<p>需提供自身及组员信息</p>
		        </div>
		        <div class="agency col-lg-4">
		        	<div class="img"></div>
		        	<p>公司</p>
		        	<p>需提供最新年检营业执照</p>
		        </div> 
		        
	        </div>	            
	    </div>
	</div>
	
	 <div id="personCertif" class="row" style="display: none;">
        <div class="col-lg-12">
            <div class="hpanel">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                        <a class="closebox"><i class="fa fa-times"></i></a>
                    </div>
                    Example fo wizard form
                </div>
                <div class="panel-body">

                    <form name="simpleForm" novalidate id="simpleForm" action="#" method="post">

                        <div class="text-center m-b-md" id="wizardControl">

                            <a class="btn btn-primary" href="#personstep1" data-toggle="tab">Step 1 - 个人资料</a>
                            <a class="btn btn-default" href="#personstep2" data-toggle="tab">Step 2 - 资质信息</a>
                            <a class="btn btn-default" href="#personstep3" data-toggle="tab">Step 3 - 接收协议</a>

                        </div>

                        <div class="tab-content">
                        <div id="personstep1" class="p-m tab-pane active">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-user fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.
                                        <br/><br/>Lorem Ipsum has been the industry's dummy text of the printing and typesetting
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row">
                                        <div class="form-group col-lg-6">
                                            <label>护工名称:</label>
                                            <label>XXXXX</label>
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>手机号:</label>
                                            <label>XXXXX</label>
                                        </div>
                                        <!--<div class="form-group col-lg-6">
                                            <label>电子邮箱</label>
                                            <input type="text" value="" id="" class="form-control" name="company" placeholder="请填写一个有效邮箱" >
                                        </div>-->
                                        <div class="form-group col-lg-6">
                                            <label>服务地址:</label>
                                            <input type="text" value="" id="" class="form-control" name="company" placeholder="请填写一个有效区域，用“，” 隔开" >
                                        </div>                            
                                    </div>
                                </div>
                            </div>

                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>

                        <div id="personstep2" class="step2 p-m tab-pane">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-credit fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>It is a long</strong> established fact that a reader will be distracted by the readable
                                        <br/><br/>Many desktop publishing packages and web page editors now use
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row" >
                                        <div class="form-group col-lg-6">
                                            <label>姓名</label>
                                            <input type="" value="" id="" class="form-control" name="name" placeholder="请填写与有效身份证上一致的姓名" >
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>身份证号码</label>
                                            <input type="" value="" id="" class="form-control" name="idcard" placeholder="请填写18位的身份证号码" >
                                        </div>
                                        <div class="form-group col-lg-12">
                                            <label>身份证照片</label><br />
                                            <a href="javascript:void(0);"  class="add-pic-pre"><input type="file" accept=".jpg,.png"/><img class="credit" src=""/></a>
                                        	<div style="display: inline-block;">
                                        		<p>1.2M以内，JPG/PNG格式的图片</p>
	                                        	<p>2.身份证件需上传<b style="color: red;">正反面</b>，证件信息清晰无遮挡</p>
	                                        	<p>3.我司资质验证系统已与工商部门联网，请勿提供虚假证件</p>
                                        	</div>                                      	
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>
                        <div id="personstep3" class="tab-pane">
                            <div class="row text-center m-t-lg m-b-lg">
                                <div class="col-lg-12">
                                    <i class="pe-7s-check fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        	请仔细阅读<b><a href="" data-toggle="modal" data-target="#myModal">中风医馆开店协议</a></b>，点击提交后表示已接收所有条款
                                    </p>
                                </div>
                                <div class="checkbox col-lg-12">
                                    <input id="accept" type="checkbox" class="i-checks approveCheck" name="approve">
                                   				 接收此协议
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                                <a class="btn btn-success submitWizard" href="#">提交</a>
                            </div>
                        </div>
                        </div>
                    </form>

                    <div class="m-t-md">

                        <p>
                            This is an example of a wizard form which can be easy adjusted. Since each step is a tab, and each clik to next tab is a function you can easily add validation or any other functionality.
                        </p>

                    </div>

                </div>
            </div>
        </div>

    </div>
	
    <div id="groupCertif" class="row" style="display: none;">
        <div class="col-lg-12">
            <div class="hpanel">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                        <a class="closebox"><i class="fa fa-times"></i></a>
                    </div>
                    Example fo wizard form
                </div>
                <div class="panel-body">

                    <form name="simpleForm" novalidate id="simpleForm" action="#" method="post">

                        <div class="text-center m-b-md" id="wizardControl">

                            <a class="btn btn-primary" href="#groupstep1" data-toggle="tab">Step 1 - 小组信息</a>
                            <a class="btn btn-default" href="#groupstep2" data-toggle="tab">Step 2 - 资质信息</a>
                            <a class="btn btn-default" href="#groupstep3" data-toggle="tab">Step 3 - 接收协议</a>

                        </div>

                        <div class="tab-content">
                        <div id="groupstep1" class="p-m tab-pane active">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-user fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.
                                        <br/><br/>Lorem Ipsum has been the industry's dummy text of the printing and typesetting
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row">
                                        <div class="form-group col-lg-6">
                                            <label>小组名称</label>
                                            <input type="" value="" id="" class="form-control" name="username" placeholder="给小组起一个名字吧">
                                        </div>
                                         <div class="form-group col-lg-6">
                                            <label>服务区域</label>
                                            <input type="" value="" id="" class="form-control" name="username" placeholder="给填写服务区域，如果有多个用“，”隔开">
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>成员一</label>
                                            <input type="" value="" id="" class="form-control" name="username" placeholder="成员一姓名">
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>成员二</label>
                                            <input type="" value="" id="" class="form-control" name="password" placeholder="成员二姓名">
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>成员三</label>
                                            <input type="text" value="" id="" class="form-control" name="company" placeholder="成员三姓名" >
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>成员四</label>
                                            <input type="" value="" id="" class="form-control" name="email" placeholder="成员四姓名" >
                                        </div>                            
                                    </div>
                                </div>
                            </div>

                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>

                        <div id="groupstep2" class="step2 p-m tab-pane">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-credit fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>It is a long</strong> established fact that a reader will be distracted by the readable
                                        <br/><br/>Many desktop publishing packages and web page editors now use
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row" >
                                        <div class="form-group col-lg-6">
                                            <label>组长姓名:</label>
                                            <input type="" value="" id="" class="form-control" name="idcard" placeholder="请填写真实有效的姓名" >
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>身份证号码</label>
                                            <input type="" value="" id="" class="form-control" name="idcard" placeholder="请填写18位的身份证号码" >
                                        </div>
                                        <div class="form-group col-lg-12">
                                            <label>身份证照片</label><br />
                                            <a href="javascript:void(0);"  class="add-pic-pre"><input type="file" accept=".jpg,.png"/><img class="credit" src=""/></a>
                                        	<div style="display: inline-block;">
                                        		<p>1.2M以内，JPG/PNG格式的图片</p>
	                                        	<p>2.身份证件需上传<b style="color: red;">正反面</b>，证件信息清晰无遮挡</p>
	                                        	<p>3.我司资质验证系统已与工商部门联网，请勿提供虚假证件</p>
                                        	</div>                                      	
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>
                        <div id="groupstep3" class="tab-pane">
                            <div class="row text-center m-t-lg m-b-lg">
                                <div class="col-lg-12">
                                    <i class="pe-7s-check fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        	请仔细阅读<b><a href="" data-toggle="modal" data-target="#myModal">中风医馆开店协议</a></b>，点击提交后表示已接收所有条款
                                    </p>
                                </div>
                                <div class="checkbox col-lg-12">
                                    <input id="accept" type="checkbox" class="i-checks approveCheck" name="approve">
                                   				 接收此协议
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                                <a class="btn btn-success submitWizard" href="#">提交</a>
                            </div>
                        </div>
                        </div>
                    </form>

                    <div class="m-t-md">

                        <p>
                            This is an example of a wizard form which can be easy adjusted. Since each step is a tab, and each clik to next tab is a function you can easily add validation or any other functionality.
                        </p>

                    </div>

                </div>
            </div>
        </div>

    </div>
    <div id="agencyCertif" class="row" style="display: none;">
        <div class="col-lg-12">
            <div class="hpanel">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                        <a class="closebox"><i class="fa fa-times"></i></a>
                    </div>
                    Example fo wizard form
                </div>
                <div class="panel-body">

                    <form name="simpleForm" novalidate id="simpleForm" action="#" method="post">

                        <div class="text-center m-b-md" id="wizardControl">

                            <a class="btn btn-primary" href="#agencystep1" data-toggle="tab">Step 1 - 个人资料</a>
                            <a class="btn btn-default" href="#agencystep2" data-toggle="tab">Step 2 - 资质信息</a>
                            <a class="btn btn-default" href="#agencystep3" data-toggle="tab">Step 3 - 接收协议</a>

                        </div>

                        <div class="tab-content">
                        <div id="agencystep1" class="p-m tab-pane active">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-user fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.
                                        <br/><br/>Lorem Ipsum has been the industry's dummy text of the printing and typesetting
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row">
                                        <div class="form-group col-lg-6">
                                            <label>诊所名称</label>
                                            <input type="" value="" id="" class="form-control" name="username" placeholder="给店铺起一个名字吧">
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>电话</label>
                                            <input type="" value="" id="" class="form-control" name="password" placeholder="请填写一个诊所电话">
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>电子邮箱</label>
                                            <input type="text" value="" id="" class="form-control" name="company" placeholder="请填写一个有效邮箱" >
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>服务地址</label>
											<input type="text" value="" id="" class="form-control" name="company" placeholder="请填写一个有效区域，用“，” 隔开" >	                                        </div>                            
                                    </div>
                                </div>
                            </div>

                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>

                        <div id="agencystep2" class="step2 p-m tab-pane">

                            <div class="row">
                                <div class="col-lg-3 text-center">
                                    <i class="pe-7s-credit fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        <strong>It is a long</strong> established fact that a reader will be distracted by the readable
                                        <br/><br/>Many desktop publishing packages and web page editors now use
                                    </p>
                                </div>
                                <div class="col-lg-9">
                                    <div class="row" >
                                        <div class="form-group col-lg-6">
                                            <label>公司全称</label>
                                            <input type="" value="" id="" class="form-control" name="name" placeholder="请填写与营业执照一致的合法公司全称" >
                                        </div>
                                        <div class="form-group col-lg-6">
                                            <label>营业执照注册号</label>
                                            <input type="" value="" id="" class="form-control" name="idcard" placeholder="请填写完整的营业执照上的注册号" >
                                        </div>
                                        <div class="form-group col-lg-12">
                                            <label>营业执照照片</label><br />
                                            <a href="javascript:void(0);"  class="add-pic-pre"><input type="file" accept=".jpg,.png"/><img class="credit" src=""/></a>
                                        	<div style="display: inline-block;">
                                        		<p>1.2M以内，JPG/PNG格式的图片</p>
	                                        	<p>2.执照信息清晰无遮挡</p>
	                                        	<p>3.我司资质验证系统已与工商部门联网，请勿提供虚假证件</p>
                                        	</div>                                      	
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                            </div>

                        </div>
                        <div id="agencystep3" class="tab-pane">
                            <div class="row text-center m-t-lg m-b-lg">
                                <div class="col-lg-12">
                                    <i class="pe-7s-check fa-5x text-muted"></i>
                                    <p class="small m-t-md">
                                        	请仔细阅读<b><a href="" data-toggle="modal" data-target="#myModal">中风医馆开店协议</a></b>，点击提交后表示已接收所有条款
                                    </p>
                                </div>
                                <div class="checkbox col-lg-12">
                                    <input id="accept" type="checkbox" class="i-checks approveCheck" name="approve">
                                   				 接收此协议
                                </div>
                            </div>
                            <div class="text-right m-t-xs">
                                <a class="btn btn-default prev" href="#">上一步</a>
                                <a class="btn btn-default next" href="#">下一步</a>
                                <a class="btn btn-success submitWizard" href="#">提交</a>
                            </div>
                        </div>
                        </div>
                    </form>

                    <div class="m-t-md">

                        <p>
                            This is an example of a wizard form which can be easy adjusted. Since each step is a tab, and each clik to next tab is a function you can easily add validation or any other functionality.
                        </p>

                    </div>

                </div>
            </div>
        </div>

    </div>
    </div>

</div>

<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					中风医馆开店协议
				</h4>
			</div>
			<div class="modal-body">
				在这里添加一些文本
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				</button>
				<button type="button" id="acceptprotocol" class="btn btn-primary">
					接收协议
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>


<!-- Vendor scripts -->
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/jquery/dist/jquery.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/jquery-ui/jquery-ui.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/slimScroll/jquery.slimscroll.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/metisMenu/dist/metisMenu.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/iCheck/icheck.min.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/sparkline/index.js"></script>
<script src="/10.30/ThinkPHP/Application/Community/Public//vendor/sweetalert/lib/sweet-alert.min.js"></script>

<!-- App scripts -->
<script src="/10.30/ThinkPHP/Application/Community/Public//scripts/homer.js"></script>

<script>

    $(function(){

        $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
            $('a[data-toggle="tab"]').removeClass('btn-primary');
            $('a[data-toggle="tab"]').addClass('btn-default');
            $(this).removeClass('btn-default');
            $(this).addClass('btn-primary');
        })

        $('.next').click(function(){
            var nextId = $(this).parents('.tab-pane').next().attr("id");
            $('[href=#'+nextId+']').tab('show');
        })

        $('.prev').click(function(){
            var prevId = $(this).parents('.tab-pane').prev().attr("id");
            $('[href=#'+prevId+']').tab('show');
        })

        $('.submitWizard').click(function(){

            var approve = $(".approveCheck").is(':checked');
            if(approve) {
                // Got to step 1
//              $('[href=#step1]').tab('show');				

                // Serialize data to post method
                var datastring = $("#simpleForm").serialize();

                // Show notification
                swal({
                    title: "恭喜!",
                    text: "上传资料成功，请等待核审!",
                    type: "success"
                },function(){
                	location.href = "Certification_wait.html";
                });
                
//            Example code for post form
//            $.ajax({
//                type: "POST",
//                url: "your_link.php",
//                data: datastring,
//                success: function(data) {
//                    // Notification
//                }
//            });
            } else {
                // Show notification
                swal({
                    title: "失败!",
                    text: "请阅读并接收开店协议",
                    type: "error"
                });
            }
        })
    
    
    });
    $(".step2").find("input").change(function(){
		var imgFile = this.files[0];
	    var fr = new FileReader();
	    var img = $(this).next(".credit");
	    fr.onload = function() {
	        img.attr("src",fr.result);
	    };
	    fr.readAsDataURL(imgFile);
	})
    
    $("#acceptprotocol").click(function(){
    	$(".icheckbox_square-green").addClass("checked");
    	$(".approveCheck").attr("checked",true);
    	$('#myModal').modal('hide');
    })
    
    $(".person").click(function(){
    	$("#choose").hide();
		$("#personCertif").show();
	})
    $(".agency").click(function(){
    	$("#choose").hide();
		$("#agencyCertif").show();
	})
     $(".group").click(function(){
    	$("#choose").hide();
		$("#groupCertif").show();
	})
    $("#personCertif").find("#personstep1").find(".prev").click(function(){
    	$("#personCertif").hide();
    	$("#choose").show();		
    })
    $("#agencyCertif").find("#agencystep1").find(".prev").click(function(){
    	$("#agencyCertif").hide();
    	$("#choose").show();		
    })
    $("#groupCertif").find("#personstep1").find(".prev").click(function(){
    	$("#groupCertif").hide();
    	$("#choose").show();		
    })
</script>

</body>
</html>